package com.bj58.mis.apm.server.logreceiver.service;

import com.bj58.mis.apm.server.logreceiver.model.ApmPropertySetting;
import com.bj58.mis.apm.server.logreceiver.vo.ApmClientForWeb;
import com.bj58.mis.apm.server.logreceiver.vo.ApmPropertyForClient;
import com.bj58.mis.apm.server.logreceiver.vo.ApmPropertyForWeb;

import java.util.List;
import java.util.Map;

/**
 * @author: zhangfx
 * @create: 2018-06-06 17:41
 **/
public interface PropertiesService {

    List<ApmPropertyForClient> queryProperties(String appName, String hostName);

    void saveProperties(List<Map<String, String>> propList);

    List<ApmClientForWeb> queryClient();

    List<ApmPropertyForWeb> querySettings(String appName, String hostName);

    void save(List<ApmPropertyForWeb> list);
}
